package com.jiazhong.多态and转型.Test02;

public class A extends B{
    public int Sum(int n1,int n2){//与下面sum构成重载
        return n1+n2;
    }
    public int Sum(int n1,int n2,int n3){
        return n1+n2+n3;
    }

}
